/**
 * 请求参数
 */
export interface RequestParams {
  pageNum: number;
  pageSize: number;
  beginDate: string;
  endDate: string;
  title: string;
  operName: string;
  dateRange: any;
}
/**
 * 登录响应
 */
export interface LibraryPageVo {
  businessType: string;
  errorMsg: string;
  operIp: string;
  operName: string;
  operTime: string;
  requestMethod: string;
  status: number; // 0 for normal, 1 for exception
  title: string;
}

export interface ResponseData<T> {
  records: {
    businessType: string;
    errorMsg: string;
    operIp: string;
    operName: string;
    operTime: string;
    requestMethod: string;
    status: number;
    title: string;
  }[];

  code: number;
  data?: T;
  list?: T[];
  total?: number | bigint;
  msg: string;
}
